/**
 * Created by Eenie on 2016/12/10.
 */


export function handleBack(navigator) {
    if (navigator && navigator.getCurrentRoutes().length > 1) {
        navigator.pop();
        return true;
    }
    return false;
}